package com.jiangcheng.demo.service;

import com.jiangcheng.demo.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiangcheng.demo.utils.FindArticleVo;
import com.jiangcheng.demo.utils.Result;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2021-07-18
 */
public interface ArticleService extends IService<Article> {

    Result findArticleByPage(int page,int pageSize,int filterUId);
    Result findArticleByAuthorId(int authorId);

    Result findArticleByLike(String search);

    Result InsertArticle(Article article);

    Result UpdateArticle(Article article);

    Result findArticleInfoById(int artId);

    Result deleteArticleById(int artId);

    Result findArticleById(int artId);
}
